package com.ycw.service.xiaocai.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ycw.bean.Projects;
import com.ycw.dao.ProjectsMapper;
import com.ycw.service.xiaocai.InsertProjectsService;

@Service
public class InsertProjectsServiceImpl implements InsertProjectsService {

	
	@Autowired
	ProjectsMapper projectsMapper;
	
	//插入项目
	
	@Override
	public void insertProjects(Projects projects) {
		System.out.println("插入项目 service层：");
		projectsMapper.insertSelective(projects);
		
	}

	

}
